<template>
  <div>
    <van-tabbar v-model="active" :route="true">
      <van-tabbar-item icon="home-o" to="/Home">首页</van-tabbar-item>
      <van-tabbar-item icon="label-o" to="/Topic">专题</van-tabbar-item>
      <van-tabbar-item icon="apps-o" to="/Category">分类</van-tabbar-item>
      <van-tabbar-item icon="shopping-cart-o" to="/Cart"
        >购物车</van-tabbar-item
      >
      <van-tabbar-item icon="user-o" to="/User">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
    };
  },
};
</script>
<style scoped>
</style>